package com.shamar.blog.entity;

import lombok.Data;

import java.util.Date;

/**
 * @author fangxiaoming
 * @update 2020-07-21 20:12
 */
@Data
public class BlogVote {
    private Integer id;

    private String userId;

    private String voteUserId;

    private Date voteTime;

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public void setVoteUserId(String voteUserId) {
        this.voteUserId = voteUserId == null ? null : voteUserId.trim();
    }
}